<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    p {
      width: 100px;
      height: 100px;
      background-color: pink;
      transition: all 0.5s;
    }
    p:hover {
      transform: translate(100px, 100px) rotate(360deg) scale(2);
    }
  </style>
  <body>
    <p>1</p>
  </body>
</html>
